﻿using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace Imgur.Net.Auth
{
    public class RefreshTokenResponse
    {
        [JsonConstructor]
        protected RefreshTokenResponse()
        {
            
        }

        [JsonProperty("access_token")]
        public string AccessToken { get; private set; }

        [JsonProperty("refresh_token")]
        public string RefreshToken { get; private set; }

        [JsonProperty("expires_in")]
        public int ExpiresIn { get; private set; }

        [JsonProperty("token_type")]
        public string TokenType { get; private set; }

        [JsonProperty("account_username")]
        public string AccountUsername { get; private set; }
    }
}
